Part Number Hot Search : 
2SC5463O 160CA IXGR32N 3KP58A FAN2012I 54H21FM LN2803 TLN108LB
Product Description
Full Text Search
 

To Download MAX97236 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  _______________________________________________________________ maxim integrated products 1 for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxims website at www.maxim-ic.com. audio amplifier with jack detection MAX97236 19-5810; rev 0; 3/11 + denotes a lead(pb)-free/rohs-compliant package. functional diagram/typical application circuit appears at end of data sheet. general description the MAX97236 is an audio amplifier with volume con - trol and microphone preamplifier intended for use in portable audio systems employing a headphone jack. the audio circuit is powered from a single, dual-mode charge pump, allowing the output signals to be ground referenced, and eliminating the need for large and expensive dc-blocking capacitors. the configuration of a 3.5mm jack is determined by autoconfigure circuitry. the ics functional blocks are auto-enabled after the configuration of the jack is determined. the audio amplifier is powered from a single 1.8v power supply that reduces overall power consumption. the microphone preamplifier and bias are powered from a separate power-supply input accommodating bias volt - ages that are greater than 2.4v. the automatic jack detection determines when a 3.5mm plug is inserted into the system jack and determines the configuration of the installed load. the configuration of the load is then reported to the system through the i 2 c interface. multiple popular jack and load configurations are detectable with this scheme. the ic detects head - sets, headphones, and a/v cables. the headphone amplifier is capable of over 35mw into 16i . the device is available in a small, 25-bump wlp package with a 0.4mm pitch and is specified over the extended -40 n c to +85 n c temperature range. applications smartphones mobile handsets notebooks portable gaming devices tablets features s 30mw headphone amplifier employs second- generation directdrive ? with dual-mode charge- pump architecture s automatic jack detection circuitry s microphone amplifier and bias s 1.8v power supply s 2.4v to 3.6v microphone power supply s headphone amplifier volume control s decodes data from a passive multibutton headset remote control s 25-bump, 2.4mm x 2.3mm, 0.4mm pitch wlp ordering information directdrive is a registered trademark of maxim integrated products, inc. simplified block diagram evaluation kit available part temp range pin- package i 2 c address MAX97236ewa+ -40 n c to +85 n c 25 wlp 0x80 MAX97236 hpl jack detection and configuration hpr tip ring1 ring2 sleeve jacksw moutp moutn charge pump 1.8v v dd 2.4v to 3.0v micvdd sda scl irq i 2 c interface and control serial interface mic
audio amplifier with jack detection MAX97236 2 stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. these are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. v dd to pgnd .......................................................... -0.3v to +2v micvdd to pgnd ................................................ -0.3v to +5.5v pvdd to pgnd ......................................... -0.3v to (v dd + 0.3v) pvss to pgnd ........................................................ -2v to +0.3v gnd to pgnd ...................................................... -0.1v to +0.1v tip, ring1, in_ to pgnd ..................................... (v pvss - 0.3v) to (v pvdd + 0.3v) ring2, sleeve to pgnd ...................................... (gnd - 0.3v) to (v micvdd + 0.3v) jacksw to pgnd .............. (v pvss - 0.3v) to (v micvdd + 0.3v) mbias to pgnd ....................................... -0.3v to (v dd + 0.3v) mout+ and mout- to pgnd .......... -0.3v to (v micvdd + 0.3v) c1p to pgnd ........................................ -0.3v to (v pvdd + 0.3v) c1n to pgnd ........................................ (v pvss - 0.3v) to +0.3v sda, scl, extclk, and irq to pgnd .................. -0.3v to +6v output short-circuit duration .................................... continuous c ontinuous power dissipation (mulitlayer board, t a = +70 n c) 25-bump wlp (derate 19.2mw/ n c above +70nc) .... 1536mw junction temperature ..................................................... +150nc operating temperature range .......................... -40n c to +85nc storage temperature range ............................ -65n c to +150 nc soldering temperature (reflow) ...................................... +230nc electrical characteristics (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1 f f. typical values tested at t a = +25 n c, unless otherwise noted. see the functional diagram/typical application circuit .) (note 2) absolute maximum ratings note 1: package thermal resistances were obtained using the method described in jedec specification jesd51-7, using a four- layer board. for detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial. junction-to-ambient thermal resistance ( q ja )...............52c/w package thermal characteristics (note 1) parameter symbol conditions min typ max units general supply voltage range v dd guaranteed by psrr test 1.62 1.8 1.98 v undervoltage lockout uvlo rising v dd , t a = +25 nc 1.6 v shutdown supply current i vdd_sdf in jack detect mode, t a = +25 n c, fast detect mode, external clock disabled 14 25 fa i vdd_sds in jack detect mode, t a = +25 n c, slow detect mode, external clock disabled 14 25 sleep supply current i vdd_sl t a = +25 n c, external clock disabled 25 fa quiescent supply current i vdd t a = +25 n c, state = lrgm 2.3 3.9 ma sda, scl input logic-high v ih 1.8v logic compliant 1.4 v sda, scl input logic-low v il 1.8v logic compliant 0.4 v sda, scl, extclk input leakage current high i ih t a = +25 nc -1 +1 fa sda, scl, extclk input leakage current low i il t a = +25 nc -1 +1 fa sda, scl output logic-low v oli2c i oli2c = 2.3ma 0.2 x v dd v irq output high current i oh v irq_out = 3.3v, t a = +25 nc 1 fa irq output logic-low v ol i ol = 3ma 0.2 x v dd v
audio amplifier with jack detection MAX97236 3 electrical characteristics (continued) (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1 f f. typical values tested at t a = +25 n c, unless otherwise noted. see the functional diagram/typical application circuit .) (note 2) parameter symbol conditions min typ max units extclk input high voltage 1.4 v extclk input low voltage 0.4 v extclk frequency range f extclk t a = +25 nc 1 19.2 26 mhz extclk duty cycle d_extclk t a = +25 nc 45 55 % maximum extclk slew rate f extclk = 1mhz, 0.4v to 1.4v 50 ns f extclk = 10mhz, 0.4v to 1.4v 5 turn-on time t on (note 3) 1 10 ms jack detection turn-on time t ontime jack detect time from insertion to interrupt (note 4) 500 ms audio amplifier (gain = 0db, unless otherwise noted) output offset voltage v os t a = +25 n c, state = lrgm -500 +500 fv output power p out r l = 32 i , thd+n = 1%, f in = 1khz 30 mw r l = 16 i , thd+n = 1%, f in = 1khz 35 line output voltage v o_line r l = 10k i 1 v rms total harmonic distortion plus noise thd+n r l = 16 i , p out = 10mw, f in = 1khz 0.05 % r l = 16 i , p out = 0.1mw, f in = 1khz 0.04 r l = 10k i , v out = 1v rms , f in = 1khz 0.03 signal-to-noise ratio snr referenced to 32 i load, 1v rms input signal, a-weighted 103 db referenced to 32 i load, 1v rms input signal, a-weighted (gain = -30db) 85 power-supply rejection ratio psrr dc 1.62v to 1.98v, gain = 0db, t a = +25 nc 87 db f in = 217hz, 100mv p-p ripple, gain = 0db 78 f in = 10khz, 100mv p-p ripple, gain = 0db 74 output noise v n a-weighted 6 fv rms a-weighted, gain = -30db 1.7 a-weighted, gain = -60db 1.4 peak output current i out peak current needed to output the rated typical power 40 ma minimum headphone impedance z out 12 i crosstalk xtalk r l = 16 i , f in = 1khz, p out = 5mw, crosstalk between audio channels, gain = 0db, with ground sense -51 db r l = 32 i , f in = 1khz, p out = 25mw, crosstalk between audio channels, gain = 0db, with ground sense -56
audio amplifier with jack detection MAX97236 4 electrical characteristics (continued) (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1 f f. typical values tested at t a = +25 n c, unless otherwise noted. see the functional diagram/typical application circuit .) (note 2) parameter symbol conditions min typ max units maximum capacitive load drive c l r l = 10k i , gain r 0db 470 pf r l = 10k i , gain < 0db 200 r l = 32 i 200 power consumption per channel p out = 0.5mw, r l = 32 i 4.5 mw p out = 4.5mw, r l = 32 i, (note 5) 6.8 p out = 20mw, r l = 32 i, (note 6) 23 charge-pump switch threshold output voltage needed to toggle the charge- pump outputs thsh = 0 0.4 v thsh = 1 0.55 click-and-pop level kcp r l = 32 i , peak voltage, a-weighted, 32 samples/second into shutdown -74 dbv out of shutdown -74 input capacitance c in gain = 6db 150 pf input impedance z in 16 75 ki audio amplifier volume control gain range from min to max volume setting -60 +6 db maximum volume setting 5.5 6 6.5 db minimum volume setting -60.5 -60 -59.5 db mute attenuation 80 db channel-to-channel gain matching -0.5 +0.5 db gain change per step volume setting -54db p _vol p 6db 1 db volume setting -60db p _vol p -54db 2 microphone bias mic bias supply voltage v micvdd guaranteed by mic bias psrr test 2.4 3.6 v bias output voltage v bias high output voltage 2.4 2.6 2.8 v low output voltage 1.84 2 2.16 bias output current i bias_out r micbias = 2.2k i , high (2.6v) output voltage, t a = +25 nc 1.2 ma mic supply current consumption i mbias 150 400 fa bias output resistance r mbias micr = 0b00, v mbias = 2.6v, t a = +25 nc 2.02 2.2 2.38 ki micr = 0b01, v mbias = 2.6v, t a = +25 nc 2.39 2.6 2.81 micr = 0b10, v mbias = 2.6v, t a = +25 nc 2.76 3 3.24 micr = 0b11, v mbias = 2.6v, t a = +25 nc 0.07 bias output noise v n_bias with external capacitor, v mbias = 2.6v 2.8 fv rms
audio amplifier with jack detection MAX97236 5 electrical characteristics (continued) (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1 f f. typical values tested at t a = +25 n c, unless otherwise noted. see the functional diagram/typical application circuit .) (note 2) parameter symbol conditions min typ max units bias power-supply rejection psrr mbias r mbias = 2.2k i v micvdd = 2.4v to 3.6v, t a = +25 nc 74 90 db f in = 2khz, 100mv p-p ripple 75 microphone preamplifier mic preamp gain a mic gain = high, f in = 997hz 23 24 25 db gain = low, f in = 997hz 11 12 13 supply current consumption i dd_mamp 200 300 fa mic preamp noise v n_mamp input referred (note 7), gain = 24db, a-weighted 0.1khz to 7khz 3 fv total harmonic distortion plus noise thd+n micpre f in = 1khz, v in = 1v rms 3 % low corner frequency response f -3db relative to 997hz 15 hz high corner frequency response f- 3db relative to 997hz > 300 khz mic preamplifier power-supply rejection psr mamp v micvdd = 2.4v to 3.6v, t a = +25 nc, gain = +24db, r mic = 500 i 74 90 db f in = 2khz, 100mv p-p ripple (note 7) 58 output common-mode voltage v cm_mic voltage measured from moutp or moutn to gnd 0.8 v input capacitance c mamp ac-coupling capacitance 85 pf input resistance r mamp input resistance 100 mi output impedance z out 10 i 6-bit key encoder adc adc trip level level at which the mic bias must drop to trigger a conversion 0.64 v minimum adc course range lsb 10mv 0.128 v maximum adc course range lsb 10mv 0.64 v minimum adc fine range lsb 2mv 0 v maximum adc fine range lsb 2mv 0.128 v charge pump oscillator frequency f osc1 v out = 0v, r l = open, t a = +25 nc 78 83 88 khz f osc2 v out = 0.2v, r l = open 665 esd characteristics esd protection pins connected to the jack: tip, ring1, ring2, sleeve, jacksw 2 kv all other pins 2
audio amplifier with jack detection MAX97236 6 i 2 c timing characteristics (t a = t min to t max , unless otherwise noted. typical values are at t a = +25 n c.) (note 2) note 2: all specifications are 100% tested at t a = +25 n c. temperature limits are guaranteed by design. note 3: the current listed t on is the time from the system sending the enable signal, after receiving the ddone signal, to when the amplifier outputs turn on. note 4: total turn-on time from jack insert to output enable is dependent upon the search algorithm. note 5: p ower consumption numbers taken with the thrh bit set high, fixing the power-supply switchover threshold at its highest value. note 6: power consumption numbers taken with the high efficiency bit set low, fixing the power-supply switchover threshold at its lowest value, providing the least amount of dynamic distortion. note 7: tested with r mic = 6k i in parallel with 5pf connected from sleeve to ring2. parameter symbol conditions min typ max units serial-clock frequency f scl 0 400 khz bus free time between stop and start conditions t buf 1.3 fs hold time (repeated) start condition t hd,sta 0.6 fs scl pulse-width low t low 1.3 fs scl pulse-width high t high 0.6 fs setup time for a repeated start condition t su,sta 0.6 fs data hold time t hd,dat 0 900 ns data setup time t su,dat 100 ns sda and scl receiving rise time t r 20 + 0.1c b 300 ns sda and scl receiving fall time t f 20 + 0.1c b 300 ns sda transmitting fall time t f 20 + 0.1c b 250 ns setup time for stop condition t su,sto 0.6 fs bus capacitance c b 400 pf pulse width of suppressed spike t sp 0 50 ns
audio amplifier with jack detection MAX97236 7 typical operating characteristics (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1ff.) thd+n vs. output voltage MAX97236 toc02 v out (v rms ) thd+n (%) 1.2 1.0 0.8 0.6 0.4 0.2 0.01 0.1 1 10 0.001 0 1.4 r l = 10ki f in = 6khz f in = 100hz f in = 1khz thd+n vs. output power MAX97236 toc01 p out (mw) thd+n (%) 30 25 20 15 10 5 0.1 1 10 100 0.01 0 35 f in = 6khz f in = 100hz f in = 1khz r l = 32i thd+n vs. frequency MAX97236 toc03 frequency (khz) thd+n (%) 10 1 0.1 0.01 0.1 1 10 0.001 0.01 100 p o = 1.9mw p o = 16mw r l = 32i headphone amplifier thd+n vs. frequency MAX97236 toc04 frequency (khz) thd+n (%) 10 1 0.1 0.001 0.01 0.1 1 10 0.0001 0.01 100 r l = 10ki v out = 1v rms v out = 600mv rms MAX97236 toc05 load resistance ( i ) 100 10 1 1000 5 10 15 20 25 30 35 40 45 50 0 output power vs. load resistance 1% thd+n 10% thd+n output power per channel (mw) gain vs. frequency MAX97236 toc06 frequency (khz) gain (db) 1001010.1 -40 -30 -20 -10 0 10 20 30 40 -50 0.01 1000 -30db gain 0db gain 6db gain r l = 32i total power dissipation vs. total output power MAX97236 toc07 total output power (mw) total power dissipation (mw) 80 60 40 20 10 20 30 40 50 60 70 80 90 0 0 100 33i 16i headphone crosstalk vs. frequency MAX97236 toc08 frequency (khz) crosstalk (db) 10 1 0.1 -60 -50 -40 -30 -20 -10 0 -70 0.01 100 r l = 32i pout = 25mw freq = 1khz headphone amplifier power-supply rejection ratio vs. frequency MAX97236 toc09 frequency (khz) psrr (db) 10 1 0.1 10 20 30 40 50 60 70 80 90 100 0 0.01 100 v ripple = 200mv p-p r l = 16i
audio amplifier with jack detection MAX97236 8 typical operating characteristics (continued) (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1ff.) headphone amplifier turn-on response MAX97236 toc10 v scl v in v out 400s headphone amplifier turn-off response MAX97236 toc11 v scl v in v out 40s/div frequency (mhz) 1010.10.01 0.001 100 wideband output spectrum MAX97236 toc12 0 -120 output amplitude (dbv) -100 -80 -60 -40 -20 rbw = 100hz inband output spectrum MAX97236 toc13 frequency (khz) output amplitude (dbv) 10 1 0.1 -120 -100 -80 -60 -40 -20 0 -140 0.01 100 f = 1khz v out = -50dbv MAX97236 toc14 v pvdd v in v pvss 20ms/div class h operation microphone amplifier thd+n vs. frequency MAX97236 toc15 frequency (khz) thd+n (%) 10 1 0.1 0.1 1 10 0.01 0.01 100 r l = 10ki gain = 12db v out = 600mv rms v out = 100mv rms microphone amplifier thd+n vs. frequency MAX97236 toc16 frequency (khz) thd+n (%) 10 1 0.1 0.1 1 10 0.01 0.01 100 r l = 10ki gain = 24db v out = 300mv rms v out = 1v rms microphone preamplifier thd+n vs. output voltage MAX97236 toc17 v out (v) thd+n (%) 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.1 1 10 100 0.01 0 1.6 mic gain = 12db f in = 100hz f in = 1khz f in = 6khz microphone preamplifier thd+n vs. output voltage MAX97236 toc18 v out (v rms ) thd+n (%) 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.1 1 10 100 0.01 0 1.6 mic gain = 24db f in = 100hz f in = 1khz f in = 6khz
audio amplifier with jack detection MAX97236 9 typical operating characteristics (continued) (v dd = 1.8v, v micvdd = 3.0v, v gnd = v pgnd = 0v, c fly = c pvdd = c pvss = 1ff.) microphone amplifier gain vs. frequency MAX97236 toc20 frequency (khz) gain (db) 10010 0.1 1 -5 0 5 10 15 20 25 30 -10 0.01 1000 r l = j a v = 24db r l = 10ki a v = 24db r l = j a v = 24db r l = 10ki a v = 24db microphone bias vs. temperature MAX97236 toc21 temperature (c) microphone bias (v) 80 60 40 20 0 -20 0.5 1.0 1.5 2.0 2.5 micbias = 2.6v 3.0 0 -40 100 micbias = 2.0v microphone preamplifier power-supply rejection ratio vs. frequency MAX97236 toc19 frequency (khz) psrr (db) 10 1 0.1 10 20 30 40 50 60 70 80 90 100 0 0.01 100 v ripple = 200mv p-p micvdd (v) microphone bias (v) 3.4 3.2 3.0 2.8 0.5 1.0 1.5 2.0 2.5 3.0 0 2.6 3.6 microphone bias vs. micvdd MAX97236 toc22 v micbias = 2.6v v micbias = 2.0v
audio amplifier with jack detection MAX97236 10 pin description pin configuration a b c d wlp e 1 2 3 4 gnd inr inl pvdd jacksw i.c. gnd irq moutn tip pvss scl extclk moutp ring1 c1n sda pgnd mbias micvdd c1p pgnd v dd ring2 sleeve 5 + MAX97236 top view (bump side down) bump name function a1, b2 gnd analog ground a2 inr right audio input a3 inl left audio input a4 pvdd charge-pump positive output. bypass to pgnd with 1ff. a5 jacksw jack switch. connect to the mechanical switch. b1 i.c. internally connected. leave unconnected. b3 irq interrupt request flag. open-drain, active-low digital output. pullup with 10ki to system logic voltage. b4 moutn negative microphone output b5 tip left headphone output. connect to the first ring of the four-pole jack. c1 pvss charge-pump negative output. bypass to pgnd with 1ff. c2 scl i 2 c serial-clock input c3 extclk external system clock input. all internal digital clocks are derived from extclk.
audio amplifier with jack detection MAX97236 11 pin description (continued) detailed description class h directdrive headphone amplifier with dual-mode charge pump the headphone amplifier is optimized for low-power consumption and low noise. a charge pump generates a negative and positive supply voltage that powers the headphone amplifier and eliminates the need for a large output coupling capacitor. the headphone amplifier has volume control from -60db to +6db. a single-pole filter, f -3db = 85khz, attenuates signals outside the audio band. dual-mode charge pump the charge pump powers the headphone amplifier. when a headphone load is connected and the audio output signal is small, the charge pump outputs a q0.9v negative and positive supply voltage. when a large audio signal is applied, the output rails of the charge pump switch to a higher voltage mode, q 1.8v. the higher voltage rails accommodate the higher voltage swing necessary to amplify line level audio signals. the lower voltage rails reduce the power consumption of the headphone amplifier when higher rails are not needed. class h operation the class h amplifier employs a class ab output stage with power-supply voltages that shift based on the output signal needs ( figure 1 ). the lower power supply rails are used when the output voltage requirements are below the 0.5v threshold. the higher supply rails are used when the output voltage is above the 0.5v threshold, maximizing output power and voltage swing. the switch between available power-supply voltages occurs on a cycle-by-cycle basis. figure 1. class h power-supply operation 1.8v -1.8v 32ms 0.9v -0.9v v th_h v th_l 32ms pvdd pvss output voltage threshold bump name function c4 moutp positive microphone output c5 ring1 jack input 2/right headphone output. connect to the first ring of the four-pole jack. d1 c1n charge-pump flying capacitor negative connection. connect 1ff between c1n and c1p. d2 sda serial-data i/o d3, e2 pgnd power ground. ground return for the charge pump. d4 mbias microphone bias capacitor connection. connect 1ff to gnd. d5 micvdd microphone power-supply input. bypass to gnd with 1ff. e1 c1p charge-pump flying capacitor positive connection. connect 1ff between c1n and c1p. e3 v dd main power-supply input. connect to 1.8v and bypass to gnd with 1ff. e4 ring2 microphone input headset gnd. connect to the second ring of the four-pole jack. e5 sleeve microphone input headset gnd. connect to the sleeve of the four-pole jack.
audio amplifier with jack detection MAX97236 12 audio short-circuit protection a short on the right audio output does not shut down the left audio channel. a short on the audio output does not shut down the right audio channel. this ensures that a mono audio plug does not damage the chip, but allows audio to be heard through the other channel output. a short is considered anything below 4 i for a time period of 100ms. ground sense the headphone amplifier features output ground sens - ing for improved crosstalk performance. crosstalk is improved by at least 20db, between the audio channels, which all share a common jack ground. figure 2 shows the audio signal path from the filter through the amplifier with volume control and the ground sense. headphone amplifier input filter the headphone amplifiers employ a lowpass filter to remove out-of-band noise from the audio dac driving the headphone inputs. the filter attenuates frequencies above 85khz. headphone amplifier volume control the ic features a 64-step volume control with a resolu - tion of 1db/step from +6db down to -54db and 2db/step from -54db to -60db. figure 3 shows the i/o curve of the volume control. headphone volume slewing volume slewing breaks up large volume changes into the smallest available step size as it goes through each gain level between the initial and final volume setting. volume slewing also occurs at device turn-on and turn-off when enabled. during turn-on, the volume is set to mute before the output is enabled. once the output is on, the volume ramps to the programmed level. at turn-off, the volume is ramped to mute before the output is disabled. as briefly described in the last section, the vsen (vol- ume slew enable) bit decides whether each volume step is used when changing volume settings or whether the final volume setting jumps to the new value after writing. the volume slew enable function is used in conjunction with the zero-crossing detection enable ( zden). examples: vsen = 0, zden = 0, both functions on: the volume changes one gain step at a time. the gain only changes at the zero crossing of the audio signal. vsen = 0, zden = 1: the volume changes one gain step at a time. vsen = 1, zden = 0: new volume is asserted as soon as audio signal has gone through a zero crossing (or 100ms after the last gain change, whichever comes first). vsen = 1, zden = 1: new volume is asserted as soon as the i 2 c command is received. headphone volume zero-crossing detection zero-crossing detection is implemented on the head - phone amplifier volume control to prevent large glitches when volume changes are made. instead of making a volume change immediately when requested, the change is made when the audio signal has a zero cross - ing or after 100ms, whichever comes first. figure 2. headphone amplifier signal path figure 3. headphone volume control input/output transfer function in_ ring1 or tip ring2 or sleeve pgnd MAX97236 10 0 -10 -20 -30 -40 -50 -60 -70 volume setting (db) step number 0 10 20 30 40 50 60 70
audio amplifier with jack detection MAX97236 13 microphone bias the ic features a low-noise microphone bias generator and amplifier. the bias voltage resistors are selectable through i 2 c register 0x09. ensure that v micvdd is greater than the desired micro - phone bias voltage. the microphone bias line is also used by passive single button and passive multibutton headsets. microphone preamplifier a microphone preamplifier provides an additional gain of 12db or 24db (programmable) with low input-referred noise and high power-supply rejection. figure 4 shows the configuration of the microphone bias, amplifier, and microphone. internal ac-coupling capacitors connect both the microphone output and also the mbias line to a differential amplifier, giving improved psrr. jack detection and configuration algorithm the ic features a detection scheme that senses when a 3.5mm plug is inserted into the system jack. after sensing insertion, a configuration detection algorithm takes over and reads the makeup of the installed plug. information regarding the makeup of the plug is reported back through the i 2 c status registers. the device can also be placed in autoconfigure mode. this mode allows the ic to automati - cally enable the correct functional blocks depending upon the class of cable that has been inserted. jack insertion testing the jack insertion detection uses an inaudible ac wave - form output on the jack pins to sense when a load is plugged in. this electrical test is used to verify and work in conjunction with a mechanical switch (jacksw). the mechanical switch, while not used as the main sensing mechanism, can be used to save system power. when a jack is plugged into a device, the switch at jacksw is closed. when no jack is plugged in, the switch at jacksw is open. when the jack switch at jacksw is working, the electrical polling of the jack can be done less often. a test is done every time a jack is sensed to check if the switch at jacksw is working correctly. if the ic deems that the switch at jacksw is broken, the system is flagged. at that point, the system can decide whether to ignore jacksw results and poll more quickly. jack configuration detection the jack detection and configuration is bounded by certain load resistance and capacitance limitations. the correct detection and configuration cannot be guaran - teed outside those limitations. the limitations are shown in table 1 . table 1 shows each load case that is detectable with the ics jack configuration algorithm and which class of cable is found. the status bits of the i 2 c register (0x01, 0x02, 0x03) report the load found during testing. the functional blocks are set automatically if auto = 10 or 01 (register 0x01e bits 0 and 1), according to what class of cable is detected. figure 4. microphone preamplifier simplified schematic table 1. jack detection and configuration load limits parameter symbol min typ max units cable shield capacitance c cable 150 500 pf headphone load resistance r hp 12 650 i headphone load inductance l hp 30 1600 fh audio line load resistance r line 6 50 ki microphone load resistance r mic 0.5 15 ki mbias MAX97236
audio amplifier with jack detection MAX97236 14 case 9 is a special case that requires subsequent test - ing of the load pins while servicing the left audio load that has been found. in this case only, the status bits report that a line level audio load had been found on tip while tests continue to run on ring1 and sleeve. once a load is found with one of the subsequent tests, enough information about the cable class is known to stop test - ing. the status bits reflect what is found, and the signal paths are configured according to the cable class and testing stops. detecting jack removal there are two main jack removal detection methods: an electrical method and a mechanical method. the electrical unplug detection method varies, depending on which load is plugged in. cases with a microphone wait for the microphone bias to fly up to its full value. the audio only headphones wait for sleeve to fly up when the jack is removed. for cases with an av cable and audio only connected, the ic can only rely on jacksw to sense removal or to wait for user input to shut down audio. the electrical unplug detection (jkin bit) is not available when the ic is running the jack configuration algorithm, when in force mode, or when in test mode. in those cases, an unplug can only be detected mechanically through the jacksw bit. table 2. jack configurations and status registers (after ddone bit has been reset) case no. cable class pins jacksw state register 0x00 register 0x01 register 0x02 1 2 3 4 1 nothing f f f f short 0x00 0x00 0x00 2 extension cable c c c c open 0x84 0x00 0x00 3 stereo headset (headphones with microphone), gnd on p3 l r g m open 0x8c 0x30 0x01 4 stereo headset (headphones with microphone), gnd on p4 l r m g open 0x8c 0x30 0x02 5 line audio cable l r g g open 0x84 0xc0 0x03 6 mono headset, gnd on p3 l g g m open 0x8c 0x20 0x01 7 mono headset, gnd on p4 l g m g open 0x8c 0x20 0x02 8 mono headset, gnd on p3 l l g m open 0x8c 0x20 0x01 9 mono headset, gnd on p4 l l m g open 0x8c 0x20 0x02 10 mono headset, gnd on p3 l f g m open 0x8c 0x20 0x01 11 mono headset, gnd on p4 l f m g open 0x8c 0x20 0x02 12 stereo headphones l l g g open 0x84 0x30 0x03 13 stereo headphones, right channel open l f g g open 0x84 0x20 0x03 14 stereo headphones, left channel open f l g g open 0x84 0x10 0x03
audio amplifier with jack detection MAX97236 15 key switch encoder there are two types of keypads that can be connected to the ic: ? a s ingle-button h ook s witch o r m ic s witch t hat grounds out the microphone bias when pressed ? a passive multibutton headset key switch encoder timing two registers, 0x15 and 0x16, control the key switch debounce time, t deb , and delay time, t delay . the debounce time, 0x15, is the time from when the switch stops bouncing and when the adc converts. the delay time, 0x16, is set long to ensure that an unplug event is not encoded as a keypress. see figure 9 . the press bit the press bit alerts the system to whether the current interrupt was caused by a button press or release. figure 5. passive single-button hook switch figure 6. single-button, passive multibutton hook switch/microphone switch timing mic bias MAX97236 single button keypress or passive multibutton headset (mbh) play/mute, normal speed single button keypress or passive multibutton headset (mbh) play/mute, fast speed v bias v bias gnd gnd adc convert mcsw press irq and report value mcsw release irq mcsw release irq t deb t deb t deb t deb t delay t delay t delay t delay adc convert mcsw press irq and report value
audio amplifier with jack detection MAX97236 16 passive multibutton headset (mbh) a passive mbh consists of a microphone with numerous switches that connect different value resistors to ground. the switched resistor and the microphone bias resistor set up a voltage-divider that creates a unique voltage. the on-chip adc then encodes the voltage and reports to the system. a maximum 0.5 i resistance between ic pins ring2 and sleeve and the headset is required for proper operation of the passive multibutton headset. figure 7 shows the circuit diagram of a passive mbh. figure 8 shows the timing for a fast or normal speed key - press on a passive mbh. note that a keypress develops a voltage that is above ground. the switch that shorts the microphone bias to ground is handled like the hook switch in the previous section. figure 7. passive mbh figure 8. mbh timing mic bias adc MAX97236 v bias v bias gnd gnd adc convert adc convert keypress set key and report value passive multibutton headset (mbh): other button, normal speed, or button held passive multibutton headset (mbh): other button, fast speed key release set key irq t deb t deb t deb t deb t delay t delay t delay t delay key release set key irq keypress set key and report value
audio amplifier with jack detection MAX97236 17 slow jack removal removing the headphone jack slowly can cause a false trigger of the key switch encoder because the right speaker between ring1 and ring2 shorts between microphone bias and ground. the programmable delay time must be set by the system to mask out this slow removal so that an interrupt does not flag until the jkin status bit tells the system the jack is unplugged. figure 9 shows the timing and interrupt reporting for a slow jack removal event. the act of microphone bias flying all the way up is the trigger for a microphone removal event. the jack detection and configuration algorithm section explains more about sensing jack removal. figure 9. slow jack removal timing register and bit descriptions table 3. register map register b7 b6 b5 b4 b3 b2 b1 b0 address default r/w status1 jkin ddone vol mic_in jacksw mcsw mbh 0x00 0x00 r status2 line_l line_r hp_l hp_r jackswinc key 0x01 0x00 r status3 gnd 0x02 0x00 r for expansion 0x03 irq mask1 ijkin iddone ivol imic jacksw imcsw imbh 0x04 0x00 r/w irq mask2 iline_l iline_r ihp_l ihp_r ijacksw ikey 0x05 0x00 r/w for expansion 0x06 left volume l = r mutel lvol 0x07 0xc0 r/w right volume muter rvol 0x08 0x40 r/w microphone gain micr bias 0x09 0x00 r/w for expansion for expansion 0x0a 0x00 r/w vendor id register id 0x0b 0x90 r for expansion for expansion 0x0c 0x00 r/w for expansion for expansion 0x0d 0x00 r/w for expansion for expansion 0x0e 0x00 r/w for expansion for expansion 0x0f 0x00 r/w for expansion for expansion 0x10 0x00 r/w for expansion for expansion 0x11 0x00 r/w keyscan clock divider 1 key_div_high 0x12 0x00 r/w keyscan clock divider 2 key_div_low 0x13 0x00 r/w keyscan clock divider adc key_div_adc 0x14 0x00 r/w keyscan debounce key_deb 0x15 0x00 r/w keyscan delay key_del 0x16 0x00 r/w v bias gnd adc convert jkin release irq note: one interrupt determined by the autodetect circuit t deb t delay
audio amplifier with jack detection MAX97236 18 table 3. register map (continued) table 4. configuration and device status registers device status registers registers 0x00 and 0x01 are used to report the makeup of the inserted jack as well as report when a microphone switch has been pressed or the jack has been removed. the ic uses registers 0x00, 0x01, 0x02, and irq to report the status of various device functions. the status_ register bits are set when their respective event occurs. device status can be determined either by polling registers 0x00, 0x01, and 0x02 or configuring the irq to go low when specific events occur. registers 0x04 and 0x05 determine which bits in the status_ register trigger irq to go low. irq is cleared upon reading the register. register b7 b6 b5 b4 b3 b2 b1 b0 address default r/w passive mbh keyscan data press range keydata 0x17 0x00 r dc test slew control dc_slew 0x18 0x00 r/w state forcing force state 0x19 0x20 r/w ac test control ac_repeat_ pulse_width_ pulse_amp_ 0x1a 0x05 r/w for expansion 0x1b for expansion 0x1c enable1 shdn reset mic_ bias mic_amp ks 0x1d 0x00 r/w enable2 lften rghen vsen zden fast thrh auto 0x1e 0x00 r/w register bit name description status1 0x00 (read only) 7 jkin jack detected jkin changes state when the jack detect circuit senses a load at the left headphone out - put and shdn = high 0 = no load at tip. 1 = load detected at tip. 6 ddone jack configuration detect done ddone changes state when the jack detect algorithm finishes and the jack configuration is known and reported in the status registers 0x00, 0x01, and 0x02. resets after reading. 0 = jack detect algorithm is not complete. 1 = jack detection algorithm is complete. 5 vol volume slew complete vol goes high after the headphone volume has slewed to its final programmed value. vol sets every time a gain change is complete whether the gain change is positive or negative. ramp the volume down and wait for vol to set to ensure clickless turn off. resets after read - ing. 0 = no volume slewing sequences have completed since any register was last read. 1 = volume slewing complete. 4
audio amplifier with jack detection MAX97236 19 table 4. configuration and device status registers (continued) register bit name description status1 0x00 (read only) 3 mic_in microphone connected/disconnected mic_in reports when a microphone is connected or removed. set the mic_inm interrupt mask to alert the system when the microphone load status has changed. 0 = microphone is removed. 1 = microphone is connected. 2 jacksw jacksw status jacksw reports the mechanical jack switch status. for an operational mechanical jack switch, jacksw flags at the same time. if the switch is broken, or if the jack is not plugged in all the way, jacksw and jkin do not report the same value. the jacksw bit also reports when a jack has been removed. set the pin5m interrupt mask bit to signal the system when the status of jacksw changes. 0 = mechanical jack switch reports no jack is connected. 1 = mechanical jack switch shows that the jack is connected. 1 mcsw microphone switch status mcsw goes high when the microphone bias goes low for the debounce period plus the delay period. this happens when a switch shorts across the microphone, pulling the micbias node down, indicating a keypress from a hook switch, adc p 4 lsb. resets after reading. 0 = no change in microphone bias, no switch press. 1 = microphone bias has been pulled to ground and debounced since the last status read. debounce time set by key_deb. delay time set by key_del. 0 mbh multibutton headset status mbh reports when a keypress from a multibutton headset is ready to be read. resets after reading. 0 = no active keypress detected. 1 = active keypress has been detected. status2 0x01 (read only) 7 line_l line-level load on tip detected 0 = line-level load on tip not detected. 1 = line-level load on tip detected. 6 line_r line-level load on rout detected 0 = line-level load on ring1 not detected. 1 = line-level load on ring1 detected. 5 hp_l headphone load on tip detected 0 = headphone load on tip not detected. 1 = headphone load on tip detected. 4 hp_r headphone load on ring1 detected 0 = headphone load on ring1 not detected. 1 = headphone load on ring1 detected. 3 jackswinc jacksw incorrect jackswinc reports when there are inconsistencies between the mechanical switch and the electrical plug and unplug detection. the exception is when a plug-in occurs and shdn is low. jackswinc does not clear when the status register is read. jacksw is checked at jack plug-in and unplug jackswinc is updated when jacksw is checked. 0 = jacksw reporting is correct and correlates with jkin. 1 = jacksw reporting is not correct and does not correlate with jkin.
audio amplifier with jack detection MAX97236 20 table 4. configuration and device status registers (continued) register bit name description status2 0x01 (read only) 2 key passive multibutton headset key status key reports when the passive multibutton has been pressed. data is available in keydata. see figure 8. resets after reading. 0 = no button pressed. 1 = button has been pressed/released. debounce and delay times have occurred. 1 0 status3 0x02 (read only) 7 6 5 4 3 2 1 gnd jack common location identifier the two gnd bits tell the system whether the jacks common connection is at ring2 or sleeve. gnd is also used to indicate when a jack has been removed. 00 = no common connection sensed, jack has been removed or nothing has been inserted yet. 01 = the common jack connection is ring2. 10 = the common jack connection is sleeve. 11 = common on both ring2 and sleeve. 0
audio amplifier with jack detection MAX97236 21 table 5. interrupt mask registers interrupt mask registers the interrupt mask registers control which status bits flag a system interrupt. setting an interrupt mask bit causes irq to pull low whenever the target status bits set. the irq output resets to high, after i 2 c register is read. register bit name description irq mask1 0x04 7 ijkin jack detect interrupt enable 0 = disabled 1 = enabled 6 iddone jack configuration detect done interrupt enable 0 = disabled 1 = enabled 5 ivol volume slew interrupt enable 0 = disabled 1 = enabled 4 3 imic microphone interrupt enable 0 = disabled 1 = enabled 2 jacksw jacksw status interrupt enable 0 = disabled 1 = enabled 1 imcsw microphone switch interrupt enable 0 = disabled 1 = enabled 0 imbh multibutton release status interrupt enable 0 = disabled 1 = enabled irq mask2 0x05 7 iline_l line-level load tip interrupt enable 0 = disabled 1 = enabled 6 iline_r line-level load ring1 interrupt enable 0 = disabled 1 = enabled 5 ihp_l headphone load tip interrupt enable 0 = disabled 1 = enabled 4 ihp_r headphone load ring1 interrupt enable 0 = disabled 1 = enabled 3 ijacksw jacksw incorrect interrupt enable 0 = disabled 1 = enabled 2 ikey key interrupt enable 0 = disabled 1 = enabled 1 0
audio amplifier with jack detection MAX97236 22 table 6. headphone volume registers headphone volume control registers the headphone volume registers independently control and report the gain of the left and right headphone amplifiers. set b7 in register 0x04 to have the right-channel gain track the left-channel gain. register bit name description left volume 0x07 7 l = r left/right tracking 0 = the right-channel volume control is independent of the left. 1 = the left and right volume controls track each other allowing for only one regis - ter to be written to change both channel volumes. control both volume controls by writing to lvol. left volume/ right volume 0x07/0x08 6 mutel/ muter headphone mute 0 = disable. 1 = enable, output is muted. 5 lvol/ rvol left/right headphone output volume level hex value gain (db) hex value gain (db) 0x00 -60 0x20 -25 0x01 -58 0x21 -24 0x02 -56 0x22 -23 4 0x03 -54 0x23 -22 0x04 -53 0x24 -21 0x05 -52 0x25 -20 0x06 -51 0x26 -19 0x07 -50 0x27 -18 0x08 -49 0x28 -17 3 0x09 -48 0x29 -16 0x0a -47 0x2a -15 0x0b -46 0x2b -14 0x0c -45 0x2c -13 0x0d -44 0x2d -12 0x0e -43 0x2e -11 2 0x0f -42 0x2f -10 0x10 -41 0x30 -9 0x11 -40 0x31 -8 0x12 -39 0x32 -7 0x13 -38 0x33 -6 0x14 -37 0x34 -5 1 0x15 -36 0x35 -4 0x16 -35 0x36 -3 0x17 -34 0x37 -2 0x18 -33 0x38 -1 0x19 -32 0x39 0 0x1a -31 0x3a 1 0 0x1b -30 0x3b 2 0x1c -29 0x3c 3 0x1d -28 0x3d 4 0x1e -27 0x3e 5 0x1f -26 0x3f 6
audio amplifier with jack detection MAX97236 23 table 7. microphone bias and gain register table 8. vendor id register microphone bias control and gain register the microphone bias control and gain register controls which microphone bias voltage and bias resistors are used as well as the microphone amplifier gain. vendor id register vendor id bits are shown in table 8 . register bit name description microphone 0x09 7 6 gain microphone preamplifier gain select 0 = 12db 1 = 24db 5 micr microphone bias resistor select 000 = 2.2k i 001 = 2.6k i 010 = 3.0k i 011 = bypassed 1xx = high impedance (sleep mode) 4 3 2 bias microphone bias voltage select 0 = 2.0v 1 = 2.6v 1 0 register bit name description vendor id register 0x0b 7 id vendor id 0x9 = maxims vendor id 6 5 4 3 2 1 0
audio amplifier with jack detection MAX97236 24 table 9. keyscan clock divider registers table 10. keyscan adc clock divider registers table 11. keyscan clock divider registers keyscan clock divider registers the keyscan clock divider register sets the clock frequency that is used for the conversion clock for the keyscan 1khz generator. keyscan divider adc register the keyscan adc clock divider register sets the clock frequency that is used for the conversion clock for the keyscan 6-bit adc. keyscan debounce register the keyscan debounce register controls the debounce time when a keypress is detected. see figure 6 . register bit name description keyscan clock divider 1/2 0x12/0x13 7 key_div_high/ key_div_low keyscan clock divider the keyscan 1khz clock is generated by dividing down the frequency of extclk. the divider is set with the 16 bits contained within registers 0x12 and 0x13, where 0x12 is the high byte and 0x13 is the low byte. since 1khz (1ms) is desired, then: n = f in /2khz e.g., f in = 20mhz, then n = 10,000 e.g., f in = 1mhz, then n = 500 e.g., f in = 19.2mhz, then n = 9600 for the low input frequencies, resolution is about 0.2%. 6 5 4 3 2 1 0 register bit name description keyscan clock divider adc 0x14 7 key_div_adc keyscan adc clock divider the keyscan adc clock is generated by dividing down the frequency of extclk. the divider is set with the 8 bits contained within register 0x14. since 100khz (10 f s) is desired, then: n = f in /200khz e.g., f in = 20mhz, then n = 100 e.g., f in = 1mhz, then n = 5 e.g., f in = 19.2mhz, then n = 96 for the low input frequencies, resolution is about 20%. 6 5 4 3 2 1 0 register bit name description keyscan debounce 0x15 7 key_deb keyscan debounce register debounce time set from 1ms to 256ms in 1ms increments. the programmed code plus one represents the debounce time directly. t deb = key_deb + 1 e.g., code 0x13 represents 20ms of debounce. 6 5 4 3 2 1 0
audio amplifier with jack detection MAX97236 25 table 12. keyscan delay register table 13. keyscan data register keyscan delay register the keyscan delay register sets the timeout that the microphone button press is masked from the system. at the end of the delay time, the ic checks to see if a microphone is still present. if the microphone is present, the system is alerted by setting the mcsw bit in the status register flagging an interrupt if imcsw is set. if the microphone is not present after the delay time, the system is flagged with an interrupt by setting microphone_in signifying that the microphone has been removed and no keypress was made. passive multibutton keyscan data register the keyscan data register contains the data read from a keypress after the 6-bit adc encodes the input voltage level. the read keypress could come from a single switch or a passive multibutton device. register bit name description keyscan delay 0x16 7 key_del keyscan delay register delay time set from 4ms to 1024ms in 4ms increments. the programmed code plus one multiplied by 4ms represents the delay time. t delay = (key_del + 1) x 4ms e.g., code 0x63 represents 400ms of delay. 6 5 4 3 2 1 0 register bit name description passive mbh keyscan data 0x17 (read only) 7 press release tells if a key status was press or release. 0 = key release. 1 = keypress. 6 range 0 = coarse range. 1 = fine range. 5 keydata keyscan data b6Cb0 are read-only bits that contain the data read from a passive keypress that shorts the microphone to ground. there is a coarse range (10mv/lsb) and a fine range (2mv/lsb). see figure 7 and the passive multibutton headset (mbh) section. 4 3 2 1 0
audio amplifier with jack detection MAX97236 26 table 14. ramp test slew control table 15. load state forcing ramp test slew control the ramp test slew control programs the period of the jack configuration algorithms ramp test. slow slew rates ensure test inaudibility, but increase test time to complete the configuration algorithm. load state forcing use the load state forcing register to force a state and ignore the results of the jack detection algorithm. it forces the required blocks to be on (bypassing the enable registers). register bit name description dc test slew control 0x18 7 dc_slew dc slew control program the dc test slew rate from 5.12ms to 1305.6ms in 5.12ms steps. recommend value to be used is 0x04 to 0x08. 6 5 4 3 2 1 0 register bit name description state forcing 0x19 7 6 5 force load state force enable 0 = forces the ic into a configuration defined by 0b4C0b0. 1 = state forcing disabled.
audio amplifier with jack detection MAX97236 27 table 15. load state forcing (continued) register bit name description state forcing 0x19 4 state state value bits 0b4C0b0 programs the configuration of the ic. the columns show all the possible configurations. code [b4:b0] state (f = float, l = left audio, r = right audio, g = ground, m = microphone) 3 0x01 ffff 0x02 lrgm 0x03 lrmg 0x07 lrgg_ac 2 0x08 lrgf 0x09 lfgf 0x0a frgf 0x0c lggm 0x0d lgmg 1 0x0e llgm 0x0f llmg 0x10 lfgm 0x11 lfmg 0 0x12 lrgg_dc 0x13 lfgg 0x14 frgg
audio amplifier with jack detection MAX97236 28 table 16. jack detect test hardware settings table 17. enable registers pulse test hardware settings the jack detect test hardware settings register programs the amplitude and width of the pulse used in the jack detec - tion tests and jack insertion algorithm. enable registers the enable_ registers contain all of the bits that control the separate functional blocks for the ic. the system can either directly control these bits, or it can allow the ic to automatically configure itself and report in the enable_ register which blocks are enabled. when the auto bits (b1, b0) are set to 01 or 10, the enable_ registers are read-only (except the shdn and sleep bits). the block enable bits need to be set to sense a jack removal. the jack removal circuitry is active after the jack configurations detect algorithm has completed. register bit name description ac test control 0x1a 7 6 5 ac_repeat1 ac_repeat 00 = 1, 01 = 3, 10 = 5, 11 = 7. programs number of pulses sent for each jack detection test. 4 ac_repeat0 3 pulse_width1 pulse width 00 = 50 f s, 01 = 100 f s, 10 = 150 f s, 11 = 300 f s. test 1 and 4 pulse width is fixed at 10 fs. 2 pulse_width0 1 pulse_amp1 pulse amplitude for tests 1 and 4, pulse amplitude is 00 = 25mv, 01 = 50mv, 10 = 100mv, 11 = 200mv. tests 6, 7, and 8 pulse amplitude is 00 = 37mv, 01 = 75mv, 10 = 150mv, 11 = 220mv. 0 pulse_amp0 register bit name description enable1 0x1d 7 shdn full device shutdown control shdn turns the ic on and off. when shdn is low, the device is in shutdown mode and the jack insertion detect circuitry is active. pull shdn high to turn on the device and run the jack configuration detect algorithm. typically, shdn is held low until the system gets an interrupt from the ic, indicating that a jack has been inserted. the system then pulls shdn high. 0 = the ic is in shutdown mode with jack detection circuitry active. 1 = the ic is active. the jack configuration algorithm runs immediately after a load has been detected. 6 reset reset jack detection cycle reset (low g high g low) to repeat the jack detection and configuration algorithm.
audio amplifier with jack detection MAX97236 29 table 17. enable registers (continued) register bit name description enable1 0x1d 5 4 mic_bias microphone bias enable/status set mic_bias to enable the microphone block. this bit is read-only when auto (0b0 or 0b1) is set. 0 = microphone bias is disabled. 1 = microphone bias is enabled. 3 mic_amp microphone amplifier enable/status set mic_amp to enable the microphone amplifier. this bit is read-only when auto (0b0 or 0b1) is set. 0 = microphone amplifiers are disabled. 1 = microphone amplifiers are enabled. 2 ks keyscan enable/status ks enables the circuitry that decodes passive multibutton keypad or simple microphone switch. this bit is read only when auto (0b0 or 0b1) is set. 0 = keyscan adc is disabled. 1 = keyscan adc is enabled. 1 0 enable2 0x1e 7 lften left headphone enable/status set lften to enable the left channel of the directdrive headphone amplifier. this bit is read-only when auto (0b0 or 0b1) is set. 0 = headphone amplifier left channel is disabled. 1 = headphone amplifier left channel is enabled. 6 rghen right headphone enable/status set rghen to enable the left channel of the directdrive headphone amplifier. this bit is read-only when auto (b0) is set. 0 = headphone amplifier right channel is disabled. 1 = headphone amplifier right channel is enabled.
audio amplifier with jack detection MAX97236 30 table 17. enable registers (continued) register bit name description enable2 0x1e 5 vsen volume adjustment slewing volume changes are smoothed by stepping through intermediate steps. vsen also ensures that the volume automatically ramps from the minimum setting to the programmed value at turn-on and back to the minimum value at turn-off. 0 = enabled. 1 = disabled. 4 zden zero-crossing detection zden holds volume changes until there is a zero-crossing in the audio signal. this reduces clicks during volume changes (zipper noise). if no zero-crossing is detected within 100ms, the volume change is forced. 0 = enabled. 1 = disabled. 3 fast jack insertion polling speed a fast polling speed tests for a jack insertion 3 times per second, while a slow polling speed tests for jack insertion every 2 seconds. setting the polling speed to slow mode saves shutdown power consumption while the mechanical jacksw switch is operational. 0 = slow polling mode, 2s delay between polls. 1 = fast polling mode, 333ms delay between polls. 2 thrh class h threshold select thrh selects the threshold at which the power supplies switch from q0.9v to q 1.8v. a higher threshold allows the ics output stage to be powered from q 0.9v for a higher percentage of the audio waveform, decreasing power dis - sipation at the expense of dynamic distortion. 0 = low threshold. 1 = high threshold. 1 auto automatic mode select set auto to allow the ic to enable functional blocks depending on the load. in auto mode, the user merely reads the status of registers 0x1d and 0x1e to find out what blocks are enabled. setting auto makes bits register 0x1d and 0x01e read-only (except shdn and sleep). clear auto to give the system control of what functional blocks are active. the user needs to allow the jack configuration detect algorithm to complete before enabling functional blocks. 00 = user controls which functional blocks are on. registers 0x1d and 0x1e are r/w. 01 = the ic enables functional blocks automatically depending on the results of the jack configuration detect algorithm after shdn is set. 10 = the ic enables functional blocks automatically depending on the results of the jack configuration detect algorithm regardless of whether shdn is set. shdn must go to high to enable audio playback. 0
audio amplifier with jack detection MAX97236 31 i 2 c serial interface the ic features an i 2 c/smbus k -compatible, 2-wire serial interface consisting of a serial-data line (sda) and a serial-clock line (scl). sda and scl facilitate commu - nication between the ic and the master at clock rates up to 400khz. figure 10 shows the 2-wire interface timing diagram. the master generates scl and initiates data transfer on the bus. the master device writes data to the ic by transmitting the proper slave address followed by the register address and then the data word. each trans - mit sequence is framed by a start (s) or repeated start (sr) condition and a stop (p) condition. each word transmitted to the ic is 8 bits long and is followed by an acknowledge clock pulse. a master reading data from the ic transmits the proper slave address followed by a series of nine scl pulses. the ic transmits data on sda in sync with the master-generated scl pulses. the master acknowledges receipt of each byte of data. each read sequence is framed by a start or repeated start condition, a not acknowledge, and a stop condi - tion. sda operates as both an input and an open-drain output. a pullup resistor, typically greater than 500 i, is required on sda. scl operates only as an input. a pullup resistor, typically greater than 500 i , is required on scl if there are multiple masters on the bus, or if the single master has an open-drain scl output. series resistors in line with sda and scl are optional. series resistors protect the digital inputs of the ic from high voltage spikes on the bus lines, and minimize crosstalk and undershoot of the bus signals. bit transfer one data bit is transferred during each scl cycle. the data on sda must remain stable during the high period of the scl pulse. changes in sda while scl is high are control signals. see the start and stop conditions section. start and stop conditions sda and scl idle high when the bus is not in use. a master initiates communication by issuing a start con - dition. a start condition is a high-to-low transition on sda with scl high. a stop condition is a low-to-high transition on sda while scl is high ( figure 11 ). a start condition from the master signals the beginning of a transmission to the ic. the master terminates transmis - sion and frees the bus by issuing a stop condition. the bus remains active if a repeated start condition is generated instead of a stop condition. early stop conditions the ic recognizes a stop condition at any point during data transmission except if the stop condition occurs in the same high pulse as a start condition. for proper operation, do not send a stop condition during the same scl high pulse as the start condition. figure 11. start, stop, and repeated start conditions smbus is a trademark of intel corp. figure 10. i 2 c interface timing diagram scl sda start condition stop condition repeated start condition start condition t hd,sta t su,sta t hd,sta t sp t buf t su,sto t low t su,dat t hd,dat t high t r t f scl sda s sr p
audio amplifier with jack detection MAX97236 32 slave address the slave address is defined as the 7 most significant bits (msbs) followed by the read/write bit. the ic has an address of 0x80. the 7 most significant bits are 100000. setting the read/write bit to 1 (slave address = 0x81) configures the ic for read mode. setting the read/write bit to 0 (slave address = 0x80) configures the ic for write mode. the address is the first byte of information sent to the ic after the start condition. acknowledge the acknowledge bit (ack) is a clocked ninth bit that the ic uses to handshake receipt each byte of data when in write mode ( figure 12 ). the ic pulls down sda dur - ing the entire master-generated ninth clock pulse if the previous byte is successfully received. monitoring ack allows for detection of unsuccessful data transfers. an unsuccessful data transfer occurs if a receiving device is busy or if a system fault has occurred. in the event of an unsuccessful data transfer, the bus master retries com - munication. the master pulls down sda during the 9th clock cycle to acknowledge receipt of data when the ic is in read mode. an acknowledge is sent by the master after each read byte to allow data transfer to continue. a not-acknowledge is sent when the master reads the final byte of data from the ic, followed by a stop condition. write data format a write to the ic includes transmission of a start condi - tion, the slave address with the r/ w bit set to 0, one byte of data to configure the internal register address pointer, one or more bytes of data, and a stop condition. figure 13 illustrates the proper frame format for writing one byte of data to the ic. figure 14 illustrates the frame format for writing n bytes of data to the ic. the slave address with the r/ w bit set to 0 indicates that the master intends to write data to the ic. the ic acknowledges receipt of the address byte during the master-generated 9th scl pulse. the second byte transmitted from the master configures the ics internal register address pointer. the pointer tells the ic where to write the next byte of data. an acknowledge pulse is sent by the ic upon receipt of the address pointer data. figure 12. acknowledge figure 13. writing one byte of data to the ic figure 14. writing n bytes of data to the ic 1 scl start condition sda 2 8 9 clock pulse for acknowledgment acknowledge not acknowledge a 0 slave address register address data byte acknowledge from MAX97236 r/w 1 byte autoincrement internal register address pointer acknowledge from MAX97236 acknowledge from MAX97236 b1 b0 b3 b2 b5 b4 b7 b6 s a a p 1 byte autoincrement internal register address pointer acknowledge from MAX97236 acknowledge from MAX97236 b1 b0 b3 b2 b5 b4 b7 b6 a a 0 acknowledge from MAX97236 r/w s a 1 byte acknowledge from MAX97236 b1 b0 b3 b2 b5 b4 b7 b6 p a slave address register address data byte 1 data byte n
audio amplifier with jack detection MAX97236 33 the third byte sent to the ic contains the data that is written to the chosen register. an acknowledge pulse from the ic signals receipt of the data byte. the address pointer autoincrements to the next register address after each received data byte. this autoincrement feature allows a master to write to sequential registers within one continuous frame. the master signals the end of transmission by issuing a stop condition. register addresses greater than 0x0c are reserved. do not write to these addresses. read data format send the slave address with the r/ w bit set to 1 to initi- ate a read operation. the ic acknowledges receipt of its slave address by pulling sda low during the 9th scl clock pulse. a start command followed by a read com - mand resets the address pointer to register 0x00. the first byte transmitted from the ic is the content of register 0x00. transmitted data is valid on the rising edge of scl. the address pointer autoincrements after each read data byte. this autoincrement feature allows all registers to be read sequentially within one continuous frame. a stop condition can be issued after any number of read data bytes. if a stop condition is issued followed by another read operation, the first data byte to be read is from register 0x00. the address pointer can be preset to a specific register before a read command is issued. the master presets the address pointer by first sending the ics slave address with the r/ w bit set to 0 followed by the register address. a repeated start condition is then sent followed by the slave address with the r/ w bit set to 1. the ic then transmits the contents of the specified register. the address pointer autoincrements after transmitting the first byte. the master acknowledges receipt of each read byte during the acknowledge clock pulse. the master must acknowledge all correctly received bytes except the last byte. the final byte must be followed by a not acknowledge from the master and then a stop condition. figure 15 illus - trates the frame format for reading one byte from the ic. figure 16 illustrates the frame format for reading multiple bytes from the ic. figure 15. reading one byte of data from the ic figure 16. reading n bytes of data from the ic acknowledge from MAX97236 1 byte autoincrement internal register address pointer acknowledge from MAX97236 not acknowledge from master a a p a 0 acknowledge from MAX97236 r/w s a r/w repeated start sr 1 slave address register address slave address data byte acknowledge from MAX97236 1 byte autoincrement internal register address pointer acknowledge from MAX97236 a a a p 0 acknowledge from MAX97236 r/w s a r/w repeated start sr 1 slave address register address slave address data byte
audio amplifier with jack detection MAX97236 34 applications information power modes the power modes of the ic are controlled by the shdn bit. the three power modes include detection, normal operating, and standby. detection mode occurs when no jack has been plugged in, shdn = reset = 0. once a jack is plugged in and detected, the ic enters normal operating mode after shdn transitions from 0 to 1. while in normal operating mode, pull shdn low to put the device in standby mode. pull reset high then low to reset the jack detection and configuration. standby mode leaves the key encoder active to pick up a keypress event if the ic has completed jack detec - tion prior to standby mode. a weak pullup voltage is put across the microphone to look for a hook switch press. once a keypress event occurs, an interrupt flags, and the ic enters detection mode after shdn transitions high. power domains mvdd power domain: microphone bias, switches, esd, and jack detection tests 2 to 9. v dd power domain: charge pump, digital block, adc, mic amp, and jack detection test 1. power-up/-down sequence the ic needs v dd and mvdd to operate correctly. turning off one supply voltage during a mode might pre - vent proper operation of the ic. the power-up sequence is: ? apply v dd ? apply mvdd ? set auto to 01 (register 0x1e, bit 0) there are a few different ways to power-up/-down depending on how autonomous you want the ic to oper - ate and whether the jack is plugged in or not. the auto bits are in register 0x1e, bits 0 and 1. the three methods for getting the ic running are: ? auto = 0x00: the ic detects a jack plug-in and set jkin, but does not run the configuration detect until shdn is pulled high. after the configuration is detected, the ic waits for the system to turn on the appropriate enable bits. ? auto = 0x01: the ic detects a jack plug-in and set jkin, but does not run the configuration detect until shdn is pulled high. after the configuration detect is run, the ic automatically sets the appropriate enable bits to be able to drive all loads for the found cable. ? auto = 0x02: the ic detects a jack plug-in, sets jkin, and automatically runs the configuration detect. after the configuration detect is run, the ic automati - cally sets the appropriate enable bits to be able to drive all loads for the found cable. however, the amplifiers do not actually turn on until shdn is pulled high. the ic completes detection and waits in stand - by mode until shdn is pulled high. ensure that reset = 0 to enable the jack detect plug-in test signal. power-up, auto = 0x00 or 0x01: 1) set iddone and ijacksw and ijkin so that an interrupt flags when something is plugged in and the detection is done. 2) wait for irq. 3) wait for jacksw to set. 4) pull shdn high. 5) detection is done when ddone sets. if auto = 0x00: 1) r ead the status registers to find out what was detected. 2) system makes a decision about what to enable. 3) system sets the appropriate enable bits. 4) set the volume register to the appropriate setting if audio is present. if auto = 0x01: 1) r ead the status registers to find out what was detected. 2) the appropriate enable bits automatically set. 3) read the enable1 and enable2 registers to see what was turned on. 4) set the volume register to the appropriate setting if audio is present.
audio amplifier with jack detection MAX97236 35 power-up, auto = 0x02: 1) wait for jkin to set. 2) d etection runs automatically, so wait for ddone to set. 3) r ead the status registers to find out what was detected. 4) the ic is automatically placed in standby mode after detection is done. 5) pull shdn high to turn on the ic. 6) the appropriate enable bits were automatically set because auto = 0x02. 7) read the enable1 and enable2 registers to see what was turned on. when auto = 0x01 or 0x02, the ic automatically enables the required blocks according to what has been detected. in case auto = 0x00, it is required that all the correct blocks are enabled for unplug detection to work properly. table 18 correlates the status bits with the enable bits for the blocks that are (need to be) enabled for proper operation. power-down, all auto settings: if audio is playing and vsen = 0: 1) set the headphone volume register mute bits or set code 0x00 as the volume. 2) the vol bit is set when the volume slew is done. make sure ivol is set so that an interrupt is flagged. 3) pull shdn low to go into standby mode; the current jack case is remembered. cycle reset (low ? high ? low) to run jack detection and configuration again. if audio is not playing: 1) set vsen = 1 to disable volume slewing. if this is not done, the volume slew down at a rate of 1ms per vol - ume step. 2) set the headphone volume register mute bits or set code 0x00 as the volume, and the amplifiers mute immediately. 3) pull shdn to 0 to go to standby mode; the current jack case is remembered. cycle reset (low ? high ? low) to run jack detection and configuration again. pcb layout and grounding proper layout and grounding are essential for optimum performance. use large traces for the power-supply inputs and amplifier outputs to minimize losses due to parasitic trace resistance, as well as route heat away from the device. good grounding improves audio per - formance, minimizes crosstalk between channels, and prevents switching noise from coupling into the audio signal. connect pgnd and gnd together at a single point on the pcb. route pgnd and all traces that carry switching transients away from gnd, and the traces and components in the audio signal path. place the charge-pump capacitors as close as possible to the device. bypass pvdd and pvss with a 1 f f capac- itor to pgnd. place the bypass capacitors as close as possible to the device. route the pins that connect to the jack on wide, low- impedance traces whenever possible. ring2 or sleeve ends up being the loads ground connection; ground impedance causes excess crosstalk and noise pickup. route the extclk traces away from low-level audio input nodes and the microphone bias bypass connection to keep the audio as noise free as possible. pgnd and gnd pins need to have as low an impedance connection to the ground plane. this means liberal use of vias and a solid ground plane. the maximum resistance between the pins tip and ring1 to the headphone jack should not exceed 3 i . the maximum resistance between ring2 and sleeve to the headphone jack should be 0.5 i or better. ring2 or sleeve is used as the common connector in a headset or headphone. any impedance on this path decreases crosstalk performance. power-supply bypassing a bulk 10 f f capacitor is required for proper charge- pump operation. the capacitors are readily available in 0603 packages in the necessary voltage rating. bypass v dd to pgnd with 10 ff. table 18. status bits relation to enable bits status bit enable bit mic_in mic_bias mic_amp ks line_l lften line_r rghen hp_l lften hp_r rghen
audio amplifier with jack detection MAX97236 36 table 19. recommended component values component selection and layout charge-pump capacitors the charge pump requires three capacitors: pvdd, pvss, and the flying capacitor between c1n and c1p. it is recommended that these all remain the same value. capacitance values of 1 f f are recommended. larger value capacitors can be used to lower power-supply ripple. do not use charge-pump caps greater than 3.3f f. see table 19 for a detailed description for each component value. chip information process: bicmos component recommended value details charge-pump capacitors 1f f, x5r, 6.3v or greater voltage rating or better the capacitor needs low esr to achieve the required charge- pump output impedance. if the charge-pump output imped - ance is too high, the headphone amplifier cannot deliver the stated output power. a larger capacitor does not completely charge in one switch - ing cycle. a smaller capacitor does not hold enough charge. thus, it is highly recommended to use the suggested value. v dd capacitor c1: 1 f f to 10f f, x5r, 6.3v or better c2: 0.01nf to 0.1 f f, x5r, 6.3v minimum c1: a smaller values helps on the esd robustness. c2: is not a must-have capacitor, but still recommended. this capacitor helps improve the rf immunity of the ic. audio input capacitors 1f f, 6.3v, x5r or better lower capacitance creates a highpass filter due to the input impedance of the ic. microphone input capacitors 1f f, 6.3v, x5r or better emi filter capacitors 33pf emi filter ferrite bead murata blm15bb220
audio amplifier with jack detection MAX97236 37 functional diagram/typical application circuit MAX97236 jack detection and configuration 2.2ki/2.6k i /3ki mvdd mic sense adc mic bias select hp vol control i 2 c interface and control mic bias pvdd gnd sense tip ring1 ring2 sleeve jacksw i.c. mbias gnd pvss inl inr moutp moutn extclk scl sda 1.8v v dd 2.4v to 3.6v mvdd c1p c1n pvdd pvss charge pump irq pvdd pvss to jack mech sw pgnd v dd
audio amplifier with jack detection MAX97236 38 package information for the latest package outline information and land patterns, go to www.maxim-ic.com/packages . note that a +, #, or - in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. package type package code outline no. land pattern no. 25-bump wlp w252g2+1 21-0453 refer to application note 1891 e d aaaa pin 1 indicator marking a3 a2 a1 a see note 7 0.05 s s e b e1 d1 se sd 0.05 m s ab b a side view a top view bottom view a 1 package outline 25 bumps, wlp pkg. 0.4mm pitch 21-0453 d 0.64 0.19 0.45 0.025 0.27 1.60 1.60 0.40 0.00 0.00 w252d2+1 2.41 2.44 2.41 2.44 2.25 2.32 2.02 2.36 2.44 2.16 2.25 2.22 2.02 2.36 2.34 2.16 w252f2+1 e c d b 1 53 42 w252g2+1 w252h2+1 title document control no. rev. 1 1 approval common dimensions a a2 a1 a3 b e1 d1 e sd se 0.05 0.03 0.03 basic ref basic min max max min e d pkg. code depopulated bumps none notes: 1. terminal pitch is defined by terminal center to center value. 2. outer dimension is defined by center lines between scribe lines. 3. all dimensions in millimeter. 4. marking shown is for package orientation reference only. 5. tolerance is 0.02 unless specified otherwise. 6. all dimensions apply to pbfree (+) package codes only. 7. front - side finish can be either black or clear. basic basic - drawing not to scale - none none none
audio amplifier with jack detection MAX97236 maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 39 ? 2011 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. revision history revision number revision date description pages changed 0 3/11 initial release


▲Up To Search▲   

 
Price & Availability of MAX97236

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X